<!DOCTYPE html>
<html>
<head>
    <title>团队信息管理</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="/statics/css/bootstrap.min.css">
    <link rel="stylesheet" href="/statics/css/font-awesome.min.css">
    <link rel="stylesheet" href="/statics/plugins/jqgrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="/statics/plugins/ztree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" href="/statics/css/main.css">
    <script src="/statics/libs/jquery.min.js"></script>
    <script src="/statics/plugins/layer/layer.js"></script>
    <script src="/statics/libs/bootstrap.min.js"></script>
    <script src="/statics/libs/vue.min.js"></script>
    <script src="/statics/libs/validator.min.js"></script>
    <script src="/statics/plugins/jqgrid/grid.locale-cn.js"></script>
    <script src="/statics/plugins/jqgrid/jquery.jqGrid.min.js"></script>
    <script src="/statics/plugins/ztree/jquery.ztree.all.min.js"></script>
    <!--add validationEngine start 前端验证-->
    <link rel="stylesheet" href="/statics/plugins/validationEngine/validationEngine.jquery.css">
    <script src="/statics/plugins/validationEngine/jquery.validationEngine-zh_CN.js"></script>
    <script src="/statics/plugins/validationEngine/jquery.validationEngine-custom.js"></script>
    <script src="/statics/plugins/validationEngine/jquery.validationEngine.js"></script>
    <!--add validationEngine end-->
    <script src="/statics/js/init.js"></script><script src="/statics/js/common.js"></script>
    <style>
        .ui-jqgrid tr.jqgrow td { text-overflow : ellipsis; }
        .edui-container *{-webkit-box-sizing: content-box;-moz-box-sizing: content-box;box-sizing: content-box;}
        .edui-container *:before,.edui-container *:after {-webkit-box-sizing: content-box;-moz-box-sizing: content-box;box-sizing: content-box;}
    </style>
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">

            <a v-if="hasPermission('orth:teamInfo:update')" class="btn btn-primary" @click="update"><i
                    class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">

            <div class="form-group">
                <div class="col-sm-2 control-label">诊疗范围</div>
                <div class="col-sm-10">
                    <script id="editor_range" type="text/plain" style="width:1024px;height:500px;"></script></div>
            </div>


            <div class="form-group">
                <div class="col-sm-2 control-label">学术研究</div>
                <div class="col-sm-10">
                    <script id="editor_learn" type="text/plain" style="width:1024px;height:500px;"></script></div>
            </div>

            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>


<script src="/statics/js/modules/orth/teamInfo.js"></script>


<link href="/statics/plugins/utf8-jsp/themes/default/css/ueditor.css" type="text/css" rel="stylesheet">

    <script type="text/javascript" charset="utf-8" src="/statics/plugins/utf8-jsp/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/statics/plugins/utf8-jsp/ueditor.all.js"></script>
<script type="text/javascript" charset="utf-8" src="/statics/plugins/utf8-jsp/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript">

    var um_range = UE.getEditor('editor_range');
    var um_learn = UE.getEditor('editor_learn');

    um_range.addListener( 'blur', function( editor) {
        var me = this;
        var  range = me.selection.getRange();
        var img = range.getClosedNode();
        if (img && img.tagName == 'IMG') {
            range.setStartAfter(img).setCursor(false, true);
        }
    });
    um_learn.addListener( 'blur', function( editor) {
        var me = this;
        var  range = me.selection.getRange();
        var img = range.getClosedNode();
        if (img && img.tagName == 'IMG') {
            range.setStartAfter(img).setCursor(false, true);
        }
    });
</script>
<!--
<script type="text/javascript">

    var um_range = UM.getEditor('editor_range', {
        toolbar:[
            'undo redo | bold italic  | superscript subscript | forecolor backcolor | removeformat |',
            'insertorderedlist insertunorderedlist | selectall cleardoc paragraph | fontfamily fontsize' ,
            '| justifyleft justifycenter justifyright justifyjustify | link unlink | image ',
            '| horizontal print preview fullscreen'
        ],
        allHtmlEnabled: false,//提交到后台的数据是否包含整个html字符串
        autoHeightEnabled: false,
        autoFloatEnabled: false,
        allowDivTransToP: false//阻止div标签自动转换为p标签
    });
    var um_learn = UM.getEditor('editor_learn', {
        toolbar:[
            'undo redo | bold italic  | superscript subscript | forecolor backcolor | removeformat |',
            'insertorderedlist insertunorderedlist | selectall cleardoc paragraph | fontfamily fontsize' ,
            '| justifyleft justifycenter justifyright justifyjustify | link unlink | image ',
            '| horizontal print preview fullscreen'
        ],
        allHtmlEnabled: false,//提交到后台的数据是否包含整个html字符串
        autoHeightEnabled: false,
        autoFloatEnabled: false,
        allowDivTransToP: false//阻止div标签自动转换为p标签
    });


</script>-->
</body>
</html>